package org.pp.controller;

import io.swagger.v3.oas.annotations.Operation;
import org.pp.core.Result;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface BaseEdite<E> {


    @Operation(summary = "CRUD操作 编辑")
    @PostMapping("/edite")
    public Result<Void> edite(@RequestBody @Validated E dto);
}
